home *** CD-ROM | disk | FTP | other *** search
- Path: news.ecii.org!news
- From: Rick LaRowe <rlarowe@ecii.org>
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
- Subject: Re: C/C++ knocks the crap out of Ada
- Date: Mon, 11 Mar 1996 08:46:17 -0500
- Organization: Enterprise Computing Institute
- Message-ID: <31442EA9.438F@ecii.org>
- References: <JSA.96Feb16135027@organon.com> <4h8r0v$1c4i@saba.info.ucla.edu> <4hbj2b$cnt@sun152.spd.dsccc.com> <adaworksDnrqsE.LpC@netcom.com> <4hhred$1rn@sun152.spd.dsccc.com> <adaworksDntn85.50y@netcom.com> <Dnxw7F.J04@thomsoft.com>
- NNTP-Posting-Host: cod.ecii.org
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
-
- Pascal Martin @lone wrote:
- >
- > The Solaris threads are supported in our ObjectAda product. This is significantly
- > slower than our own previous 'user-mode' tasking, because of the Solaris
- > overhead. So much for the 'efficiently mapped': the most significant overhead
- > is *not* the Ada runtime. This is not to say Solaris is inefficient, but Solaris
- > manages more ressources than an Ada runtime, must provide a lot more security
- > and sanity checks than are required from an Ada runtime, and it consumes more
- > CPU to do so.
-
- But I'll bet that when you run this version on an MP-Sparc (which are becoming
- quite common) you get real concurrency, which you probably did not get with your
- "user-mode" implementation. I, for one, am willing to pay a little more for some
- tasking overhead if it means I can extract speedup through the use of parallelism.
- Using GNAT on Solaris on both a Sun 600MP and a Cray 6400 and also GNAT on an
- SGI Challenge, I've gotten very good speedup this way. None of this would be possible
- by just doing tasking within a single uni-tasked Unix process.
-
- Rick LaRowe
- ------------------------------------------------------------------------------
- Enterprise Computing Institute internet: rlarowe@ecii.org
- 1 Ash Street phone: (508) 435-1900 x15
- Hopkinton, MA 01748 (508) 435-2176 (fax)
- ------------------------------------------------------------------------------
-